#! /usr/bin/python3
# -*- coding: UTF-8 -*-

if __name__ == "__main__":
	raise Exception("不支持从这里调用")

__version__ = "1.0"
__all__ = ["MouseChshUserModel"]

from com.mousechsh.business.lib.model.MouseChshMemberModel import MouseChshMemberModel
from com.mousechsh.common.data.MouseChshField import MouseChshForeignStringField, MouseChshStringField


class MouseChshUserModel(MouseChshMemberModel):
	'''
	用户模型
	'''

	Type = MouseChshForeignStringField('UserType')
	NeekName = MouseChshStringField('NeekName')
	Email = MouseChshStringField('Email')
	TrustUser = MouseChshForeignStringField('Id', linked_table='TrustUser')
	AuthMethod = MouseChshForeignStringField('AuthMethod')
	Password = MouseChshStringField('Password')
	Key = MouseChshStringField('Key')
	Cert = MouseChshStringField('Cert')

	class Meta:
		SchemaName = 'A_AD'
		TableName = 'T_User'
